package com.iweb.user.dao;

import com.iweb.user.model.Refund;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserRefundMapper {

    // 插入一条新的退票记录
    int insert(Refund refund);

    // 【新增】根据订单ID查询退款记录，用于防止重复退款
    Refund selectByOrderId(long orderId);
}